<?php
 header("Content-type:text/html;charset=utf-8");
	
	$link=mysql_connect("localhost","root","root") or die("数据库无法连接成功");
	mysql_select_db("db_ee",$link) or die("数据库访问错误");
	mysql_query("set names utf8");
	$sql=mysql_query("delete from user where id=$id");
    echo "<script> alert('用户删除成功'); window.location.href='user.php';</script>";
?>